gsk: Make text nodes more compact
authorMatthias Clasen <mclasen@redhat.com>
Fri, 27 Oct 2017 21:13:40 +0000 (17:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 27 Oct 2017 21:13:40 +0000 (17:13 -0400)
commitea91ab1d9917bc4990728bda24c54f25f1e1b0ba
tree3dcd905aacfb3f2d424184756620e9ac98b7156a
parent999848e0c68dc7dbd319150208386b0a536d6780
gsk: Make text nodes more compact

The copy of the PangoGlyphString we do here was showing up
in some profiles. To avoid it, allocate the PangoGlyphInfo array
as part of the node itself. Update all callers to deal with
the slight api change required for this.
gsk/gskrendernode.h
gsk/gskrendernodeimpl.c
gsk/gskvulkancolortextpipeline.c
gsk/gskvulkancolortextpipelineprivate.h
gsk/gskvulkanrenderpass.c
gsk/gskvulkantextpipeline.c
gsk/gskvulkantextpipelineprivate.h
gtk/inspector/recorder.c